<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>{{ user.username}}'s Profile</h1>
    <ul>
        <li>{{ user.profile }}</li>
    </ul>
    <form method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <a type="submit" href="{% url 'update_profile' %}">修改信息</a>
    </form>
</body>
</html>